import http from './http'

export const getDepartmentStaffCount = () => {
    const path = '/home/department/staff/count'
    return http.get(path)
}
export const getLatestinform = () => {
    const path = '/home/latest/inform'
    return http.get(path)
}
export const getLatestAbsents = () => {
    const path = '/home/latest/absent'
    return http.get(path)
}
// 导出所有方法
export default {
    getDepartmentStaffCount,
    getLatestinform,
    getLatestAbsents
}